package com.slipper.sfts.api.stock.bo;

import java.util.Date;
import com.slipper.common.bo.CommonBO;

import java.math.BigDecimal;

/**
 * 股票持仓信息表
 */
public class StockPositionBO extends CommonBO {
    private static final long serialVersionUID = 1L;
    
    /* 主键ID */
    private String id;
    /* 主键ID */
    private String[] ids;
    /* 会员ID */
    private String memberId;
    private String memberName;
    /* 交易账号ID */
    private String brokerAccountId;
    /* 资金账号 */
    private String accountId;
    /* 交易所代码 */
    private String exchangeCode;
    /* 交易所名称 */
    private String exchangeName;
    /* 持仓代码 */
    private String code;
    /* 持仓名称 */
    private String name;
    /* 持仓数量 */
    private Integer volume;
    /* 持仓均价 */
    private BigDecimal price;
    /* 冻结数量 */
    private Integer frozenVolume;
    /* 可用数量 */
    private Integer availableVolume;
    /* 开仓金额 */
    private BigDecimal openMoney;
    /* 平仓金额 */
    private BigDecimal closeMoney;
    /* 更新时间 */
    private Date updateTime;
    /* 创建时间 */
    private Date createTime;

    public void setId(String id) {
        this.id = id;
    }
    
    public String getId() {
        return id;
    }

    public void setIds(String[] ids) {
        this.ids = ids;
    }
    
    public String[] getIds() {
        return ids;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }
    
    public String getMemberId() {
        return memberId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getBrokerAccountId() {
        return brokerAccountId;
    }

    public void setBrokerAccountId(String brokerAccountId) {
        this.brokerAccountId = brokerAccountId;
    }

    public void setExchangeCode(String exchangeCode) {
        this.exchangeCode = exchangeCode;
    }
    
    public String getExchangeCode() {
        return exchangeCode;
    }

    public void setExchangeName(String exchangeName) {
        this.exchangeName = exchangeName;
    }
    
    public String getExchangeName() {
        return exchangeName;
    }

    public void setCode(String code) {
        this.code = code;
    }
    
    public String getCode() {
        return code;
    }

    public void setName(String name) {
        this.name = name;
    }
    
    public String getName() {
        return name;
    }

    public void setVolume(Integer volume) {
        this.volume = volume;
    }
    
    public Integer getVolume() {
        return volume;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
    
    public BigDecimal getPrice() {
        return price;
    }

    public void setFrozenVolume(Integer frozenVolume) {
        this.frozenVolume = frozenVolume;
    }
    
    public Integer getFrozenVolume() {
        return frozenVolume;
    }

    public void setAvailableVolume(Integer availableVolume) {
        this.availableVolume = availableVolume;
    }
    
    public Integer getAvailableVolume() {
        return availableVolume;
    }

    public void setOpenMoney(BigDecimal openMoney) {
        this.openMoney = openMoney;
    }
    
    public BigDecimal getOpenMoney() {
        return openMoney;
    }

    public void setCloseMoney(BigDecimal closeMoney) {
        this.closeMoney = closeMoney;
    }
    
    public BigDecimal getCloseMoney() {
        return closeMoney;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    
    public Date getCreateTime() {
        return createTime;
    }

}
